var express = require('express'),
    path = require('path'),
    app = express();


app
.engine('html',require('./engine'))
.set('views',path.join(__dirname,'views'))
.set('view engine','html');


app.use(express.static('public'));

app.use('/',require('./routes/index.routes'));



module.exports = app;